<wxs module="dateFr" src="../../js/filter.wxs"></wxs>
<import src="../detail/detail" />
<template is="{{template}}" data="{{my_toast_tip: my_toast_tip}}" />
<view>
    <ul wx:for="{{showArr}}">
        <li>
            <view class='bottom-style ' wx:if='{{header}}'>
                领取开始时间:{{dateFr.filterTime(item.sendStartTime)}}
            </view>
            <span class="semicircle_l"></span>
            <span class="semicircle_r"></span>
            <view class="left-style">
                <label>¥
                    <p>{{dateFr.getNum(item.presentAmount)}}</p>
                </label>
                <span>{{item.moneyStr}}</span>
            </view>
            <view class="right-style">
                <label>{{item.name}}</label>
                <span class="time_style"><i></i>使用期限{{dateFr.filterTime(item.validStartTime)}}-{{dateFr.filterTime(item.validEndTime)}}</span>
                <span class="roules_style">
            <i></i>

           <!--  <p>{{item.goodsRouls}}</p> -->
            <p wx:if='{{item.rouleStyle=="shortRoule"}}'  class="{{item.rouleStyle}}">{{dateFr.fitRouls(item.goodsRouls,46)}}</p>
            <p wx:if='{{item.rouleStyle!="shortRoule"}}'  class="{{item.rouleStyle}}">{{item.goodsRouls}}</p>
            <d bindtap='showDetail' data-code='{{item.voucherId}}' wx:if='{{item.goodsRouls.length>46}}' class='moreInfo'>更多 <image  class='{{item.transform_style}}' src="../../image/shouhui.png"></image></d>  
          </span>
                <!--  <image data-code="{{item.voucherId}}"  src='../../image/{{item.imagePath}}.png'></image> -->
                <div style="height: 28rpx;width: 100%;display: block;"></div>
            </view>
        </li>
    </ul>
</view>